<?php
$this->load->helper('form');
$attributes = array('onsubmit' => 'articleEditRequest('.$article_id.'); return false;');
echo form_open('#',$attributes);
?>
<table>
	<tr>
		<td class='form-field'> <strong> Title :</strong></td>
		<td><?php
		$data = array(
		              'name'        => 'title',
		              'id'          => 'title',
		              'maxlength'   => '50',
		              'size'        => '50',
		              'value' 		=> $title
		            );
		echo form_input($data);
		?>
		</td>
	</tr>
	
	<tr>
		<td class='form-field'> <strong> Content :</strong></td>
		<td><?php
		$data = array(
		              'name'        => 'text_content',
		              'id'          => 'text_content',
		              'rows'		=> '10',
		              'cols'        => '30',
		              'value' 		=> $content
		            );
		echo form_textarea($data);
		?>
		</td>
	</tr>
	<tr>
		<td class='form-field'>
			<?php echo form_submit('submit', 'Send'); ?>
		</td>
	</tr>
</table>

<?php
echo form_close('');
?>